type crypto/tls.keyShare
13 uses
crypto/tls (current package)
common.go#L159: type keyShare struct {
handshake_client.go#L169: hello.keyShares = []keyShare{
handshake_client.go#L182: hello.keyShares = []keyShare{{group: curveID, data: keyShareKeys.ecdhe.PublicKey().Bytes()}}
handshake_client_tls13.go#L321: if slices.ContainsFunc(hs.hello.keyShares, func(ks keyShare) bool {
handshake_client_tls13.go#L343: hello.keyShares = []keyShare{{group: curveID, data: key.PublicKey().Bytes()}}
handshake_client_tls13.go#L443: if !slices.ContainsFunc(hs.hello.keyShares, func(ks keyShare) bool {
handshake_messages.go#L93: keyShares []keyShare
handshake_messages.go#L611: var ks keyShare
handshake_messages.go#L727: serverShare keyShare
handshake_server_tls13.go#L185: var clientKeyShare *keyShare
handshake_server_tls13.go#L188: ki := slices.IndexFunc(hs.clientHello.keyShares, func(ks keyShare) bool {
handshake_server_tls13.go#L241: hs.hello.serverShare = keyShare{group: selectedGroup, data: key.PublicKey().Bytes()}
handshake_server_tls13.go#L510: func (hs *serverHandshakeStateTLS13) doHelloRetryRequest(selectedGroup CurveID) (*keyShare, error) {
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |